package com.webproject.core;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@ServletComponentScan
@SpringBootApplication(scanBasePackages ={"com.webproject.core"} )
public class CoreApplication {

	/**
	 * 直接启动 运行服务
	 * 部署直接maven打jar包 java -jar xxx.jar
	 */
	public static void main(String[] args) {
		SpringApplication.run(CoreApplication.class, args);
	}

}
